package com.suneee.refund.entity;

import java.io.Serializable;
import java.sql.Timestamp;

import com.suneee.orm.annotation.Column;
import com.suneee.orm.annotation.Entity;
import com.suneee.orm.annotation.GeneratedValue;
import com.suneee.orm.annotation.Id;
import com.suneee.orm.annotation.Table;
import com.suneee.orm.annotation.Transient;
import com.suneee.trades.entity.Shopp;

@Entity
@Table(name = "v_refund_apply")
public class ViewRefundApply implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4408440447760276976L;

	@Id
	@GeneratedValue
	@Column(name="refund_id")
	private String refundId;
	
	@Column(name="tid")
	private String tid;
	
	@Column(name="created")
	private Timestamp created;
	
	@Column(name="title")
	private String title;
	
	@Column(name="price")
	private Float price;
	
	@Column(name="t_goods_num")
	private Integer tGoodsNum;
	
	@Column(name="refund_nums")
	private Integer refundNums;
	
	@Column(name="num_iid")
	private String numIID;
	
	@Column(name="outer_sku_id")
	private String outerSkuId;
	
	@Column(name="num")
	private Integer num;
	
	@Column(name="pay_time")
	private Timestamp payTime;
	
	@Column(name="shop_name")
	private String shopName;
	
	@Column(name="has_good_return")
	private Boolean hasGoodReturn;
	
	@Column(name="buyer_nick")
	private String buyerNick;
	
	@Column(name="enterprise_code")
	private String enterpriseCode;
	
	@Column(name="shop_id")
	private Integer shopId;
	
	@Column(name="process_status")
	private String processStatus;
	
	@Column(name="feedback_status")
	private String feedbackStatus;
	
	@Column(name="feedback_time")
	private Timestamp feedbackTime;
	
	@Column(name="after_sale_type")
	private String afterSaleType;
	
	@Column(name="trades_created")
	private Timestamp tradesCreated;
	
	@Column(name="refund_result")
	private String refundResult;
	
	@Column(name="channel_code")
	private String channelCode;
	
	@Column(name="shopp_id")
	private Integer shoppId;
	
	@Transient
	private Shopp shopp;
	
	@Column(name="sid")
	private String sid;
	
	@Column(name="company_name")
	private String companyName;
	
	@Column(name="is_notice_refund")
	private String isNoticeRefund;
	
	@Column(name="status")
	private String status;
	
	public String getSid() {
		return sid;
	}

	public void setSid(String sid) {
		this.sid = sid;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getRefundId() {
		return refundId;
	}

	public void setRefundId(String refundId) {
		this.refundId = refundId;
	}

	public String getTid() {
		return tid;
	}

	public void setTid(String tid) {
		this.tid = tid;
	}

	public Timestamp getCreated() {
		return created;
	}

	public void setCreated(Timestamp created) {
		this.created = created;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Float getPrice() {
		return price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public Integer gettGoodsNum() {
		return tGoodsNum;
	}

	public void settGoodsNum(Integer tGoodsNum) {
		this.tGoodsNum = tGoodsNum;
	}

	public Integer getRefundNums() {
		return refundNums;
	}

	public void setRefundNums(Integer refundNums) {
		this.refundNums = refundNums;
	}

	public String getNumIID() {
		return numIID;
	}

	public void setNumIID(String numIID) {
		this.numIID = numIID;
	}

	public String getOuterSkuId() {
		return outerSkuId;
	}

	public void setOuterSkuId(String outerSkuId) {
		this.outerSkuId = outerSkuId;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public Timestamp getPayTime() {
		return payTime;
	}

	public void setPayTime(Timestamp payTime) {
		this.payTime = payTime;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public Boolean getHasGoodReturn() {
		return hasGoodReturn;
	}

	public void setHasGoodReturn(Boolean hasGoodReturn) {
		this.hasGoodReturn = hasGoodReturn;
	}

	public String getBuyerNick() {
		return buyerNick;
	}

	public void setBuyerNick(String buyerNick) {
		this.buyerNick = buyerNick;
	}

	public String getEnterpriseCode() {
		return enterpriseCode;
	}

	public void setEnterpriseCode(String enterpriseCode) {
		this.enterpriseCode = enterpriseCode;
	}

	public Integer getShopId() {
		return shopId;
	}

	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}

	public String getProcessStatus() {
		return processStatus;
	}

	public void setProcessStatus(String processStatus) {
		this.processStatus = processStatus;
	}

	public String getFeedbackStatus() {
		return feedbackStatus;
	}

	public void setFeedbackStatus(String feedbackStatus) {
		this.feedbackStatus = feedbackStatus;
	}

	public Timestamp getFeedbackTime() {
		return feedbackTime;
	}

	public void setFeedbackTime(Timestamp feedbackTime) {
		this.feedbackTime = feedbackTime;
	}

	public String getAfterSaleType() {
		return afterSaleType;
	}

	public void setAfterSaleType(String afterSaleType) {
		this.afterSaleType = afterSaleType;
	}

	public Timestamp getTradesCreated() {
		return tradesCreated;
	}

	public void setTradesCreated(Timestamp tradesCreated) {
		this.tradesCreated = tradesCreated;
	}

	public String getRefundResult() {
		return refundResult;
	}

	public void setRefundResult(String refundResult) {
		this.refundResult = refundResult;
	}

	public String getChannelCode() {
		return channelCode;
	}

	public void setChannelCode(String channelCode) {
		this.channelCode = channelCode;
	}

	public Integer getShoppId() {
		return shoppId;
	}

	public void setShoppId(Integer shoppId) {
		this.shoppId = shoppId;
	}

	public Shopp getShopp() {
		return shopp;
	}

	public void setShopp(Shopp shopp) {
		this.shopp = shopp;
	}

	public String getIsNoticeRefund() {
		return isNoticeRefund;
	}

	public void setIsNoticeRefund(String isNoticeRefund) {
		this.isNoticeRefund = isNoticeRefund;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}
